﻿using HongStone.Domain.ClientManagementModel;
using HongStone.Domain.ContractModel;
using HongStone.Domain.OperationsManagement;
using HongStone.Domain.SystemSetupModel.FrequentlyUsedDataModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HongStone.Ince
{
  public interface IContractInce
    {
        /// <summary>
        /// 合同数据显示
        /// </summary>
        /// <returns></returns>
        public List<Thecontract> GetThecontracts(out int totalcount, int pageindex, int pagesize, string ContractName, string Constructionunit, string Originalamount, int ContractclassificationId);
        /// <summary>
        /// 字典数据
        /// </summary>
        /// <returns></returns>
        public List<DictionariesTable> GetZiDian();
        /// <summary>
        /// 建筑分类
        /// </summary>
        /// <returns></returns>
        public List<ArchClass> GetarcClass();
        /// <summary>
        /// 结构形式
        /// </summary>
        /// <returns></returns>
        public List<Strclass> GetStrstyle();
        /// <summary>
        /// 合同信息添加
        /// </summary>
        /// <param name="thecontract"></param>
        /// <returns></returns>
        public int AddContract(Thecontract thecontract);
        /// <summary>
        /// 工程负责人信息
        /// </summary>
        /// <returns></returns>
        public List<ProjectLeader> GetProjectLeaders();
        /// <summary>
        /// 收费列表详细
        /// </summary>
        /// <returns></returns>
        public List<charge> GetCharges();
        /// <summary>
        /// 收费列表信息添加
        /// </summary>
        /// <param name="charge"></param>
        /// <returns></returns>
        public int AddCharges(charge charge);
        /// <summary>
        /// 收费列表删除
        /// </summary>
        /// <param name="Cid"></param>
        /// <returns></returns>
        public int DelCharges(int Cid);
        /// <summary>
        /// 反填客户数据
        /// </summary>
        /// <param name="CustomerId"></param>
        /// <returns></returns>
        public Customer GetCustomer(int CustomerId);
        /// <summary>
        /// 客户信息显示
        /// </summary>
        /// <returns></returns>
        public List<Customer> GetCustomers();
        /// <summary>
        /// 合同数据批量删除
        /// </summary>
        /// <param name="Ids"></param>
        /// <returns></returns>
        public int DelAllThecont(string Ids);
        /// <summary>
        /// 合同数据反填
        /// </summary>
        /// <param name="ContractId"></param>
        /// <returns></returns>
        public Thecontract EditThecontract(int ContractId);
        /// <summary>
        /// 项目信息
        /// </summary>
        /// <returns></returns>
        public List<Project> GetProjects();
        /// <summary>
        /// 收费数据反填
        /// </summary>
        /// <param name="CId"></param>
        /// <returns></returns>
        public charge Editcharge(int sid);
        /// <summary>
        /// 收费数据修改
        /// </summary>
        /// <param name="charge"></param>
        /// <returns></returns>
        public int Updatecharge(charge charge);
        ///// <summary>
        ///// 查询合同金额信息
        ///// </summary>
        ///// <returns></returns>
        public List<HTjine> Getjine();
        public List<jidu> Getjidu();
        /// <summary>
        /// 按月份查询
        /// </summary>
        /// <returns></returns>
        public List<anyue> GetAnyues();
    }
}
